package com.bw.mvvm_common.mvvm.viewmodel;

import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleObserver;
import androidx.lifecycle.OnLifecycleEvent;

public
/**
 * @author Lishaohe
 * @description:
 * @date :2021/10/12 0012 下午 2:22
 *
 */
 interface IVeiwModel extends LifecycleObserver {
     @OnLifecycleEvent(value = Lifecycle.Event.ON_CREATE)
    void onCreate();
     @OnLifecycleEvent(value = Lifecycle.Event.ON_DESTROY)
    void onDestory();
}
